package com.ruoyi.user.model;

public enum RegisterType {
    PHONE(1, "手机号注册"),
    EMAIL(2, "邮箱注册");

    private final int code;
    private final String description;

    RegisterType(int code, String description) {
        this.code = code;
        this.description = description;
    }

    public int getCode() {
        return code;
    }
}
